import { message } from "antd";
function copy(value) {
  navigator.clipboard.writeText(value).then(() => {
    message.success({
      content: "复制成功",
      className: "custom-class",
      style: {
        marginTop: "200px",
      },
    });
  });
}
export default copy;
